package com.aaa.sso.service;

import com.aaa.common.entity.Member;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ FileName: RemoteMemberService
 * @ Description:
 * @ Author:  STB
 * @ CreateTime: 2025/9/5 0005 9:30
 * @ Version: 1.0.0
 */
@FeignClient(name = "MemberService")
public interface RemoteMemberService {
    @GetMapping("member/queryByNameOrPhone")
    Member queryByUserName(@RequestParam("nameOrPhone") String nameOrPhone);
}
